﻿<TreeViewItem x:Class="TagFlo.Views.SelectionPanelItem"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <TreeViewItem.Resources>

            <ResourceDictionary>
            
                <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="..\Resources\ResourceDictionary.xaml"/>
                <ResourceDictionary Source="..\Resources\ControlStyle.xaml"/>
                <ResourceDictionary Source="..\Themes\current.theme.xaml"/>
            </ResourceDictionary.MergedDictionaries>

        </ResourceDictionary>
    </TreeViewItem.Resources>
    
    <TreeViewItem.ItemTemplate>
        <DataTemplate x:Name="ItemDataTemplate">
            <DockPanel>
                <Image x:Name="ItemImage"/>
                <TextBlock x:Name="ItemText" Text="{Binding}"/>
            </DockPanel>
        </DataTemplate>
    </TreeViewItem.ItemTemplate>
</TreeViewItem>
